package com.agent.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * 安全配置属性
 */
@Component
@ConfigurationProperties(prefix = "security")
public class SecurityProperties {
    
    // 普通排除路径
    private List<String> excludePaths = new ArrayList<>();
    
    // 管理员排除路径
    private List<String> adminExcludePaths = new ArrayList<>();

    // Getters and Setters
    public List<String> getExcludePaths() {
        return excludePaths;
    }

    public void setExcludePaths(List<String> excludePaths) {
        this.excludePaths = excludePaths;
    }

    public List<String> getAdminExcludePaths() {
        return adminExcludePaths;
    }

    public void setAdminExcludePaths(List<String> adminExcludePaths) {
        this.adminExcludePaths = adminExcludePaths;
    }
}